package pa5.beans;

import java.io.Serializable;
import java.util.Date;

public class MatchBean implements Serializable{
	private String player1;
	private String player2;
	private Date date;
	private String result;
	
	public MatchBean(){
		
	}
	
	public MatchBean(String player1, String player2, Date date, String result) {
		super();
		this.player1 = player1;
		this.player2 = player2;
		this.date = date;
		this.result = result;
	}
	/**
	 * @return the player1
	 */
	public String getPlayer1() {
		return player1;
	}
	/**
	 * @param player1 the player1 to set
	 */
	public void setPlayer1(String player1) {
		this.player1 = player1;
	}
	/**
	 * @return the player2
	 */
	public String getPlayer2() {
		return player2;
	}
	/**
	 * @param player2 the player2 to set
	 */
	public void setPlayer2(String player2) {
		this.player2 = player2;
	}
	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}
	/**
	 * @return the result
	 */
	public String getResult() {
		return result;
	}
	/**
	 * @param result the result to set
	 */
	public void setResult(String result) {
		this.result = result;
	}

}
